package com.my.study.designPatterns.factoryPattern;

public class NYPizzaFactory extends PizzaFactory {

    @Override
    public Pizza createPizza(Integer type) {
        return new NYStyleCheesePizza();
    }
}
